package com.autumn.aitraffic.service;


import com.autumn.aitraffic.api.Result;
import com.autumn.aitraffic.domain.po.User;
import com.autumn.aitraffic.domain.vo.FaceAnalyzeVo;
import com.autumn.aitraffic.domain.vo.LoginVo;
import com.autumn.aitraffic.domain.vo.UserVo;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import org.springframework.stereotype.Service;

@Service
public interface UserService {



    Result login(String username, String password);

    Result regist(String username, String password, String telephone);

    Result faceReg(FaceAnalyzeVo faceAnalyzeVo);

    Result faceAnalyze(FaceAnalyzeVo faceAnalyzeVo);


    Result getUserList(Page page, com.autumn.aitraffic.domain.po.User user);

    Result addUser(UserVo user);

    Result updateUser(UserVo user);

    Result deleteUserById(Long id);

    com.autumn.aitraffic.bean.User findUserByName(String username);
}
